package com.hopoke.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hopoke.model.domain.dto.user.LoginDTO;
import com.hopoke.model.domain.po.user.User;
import com.hopoke.model.domain.vo.user.LoginVO;
import com.hopoke.model.domain.vo.user.ValidateCodeVO;


/**
* @author zengjing
* @description 针对表【user】的数据库操作Service
* @createDate 2024-12-05 23:24:10
*/
public interface UserService extends IService<User> {

    User getById(Long id);

    LoginVO login(LoginDTO loginDTO);

    ValidateCodeVO generateValidateCode();

    User getUserInfo(String token);

    void logout(String token);
}
